{
 "cells": [
  {
   "cell_type": "markdown",
   "id": "292309b9",
   "metadata": {},
   "source": [
    "## 期中考试知识点汇总\n",
    "\n",
    "1. count() 使用在序列数据当中，如字符串，列表，元组，可快速查询字典\n",
    "  * **str.count(sub[,start[,end]])**\n",
    "  1. str：表示原字符串；\n",
    "  2. sub：表示要检索的字符串；\n",
    "  3. start：指定检索的起始位置，也就是从什么位置开始检测。如果不指定，默认从头开始检索；\n",
    "  4. end：指定检索的终止位置，如果不指定，则表示一直检索到结尾。\n",
    "2. 列表的取值：[index]\n",
    "3. enumerate 作为枚举，对序列数据进行 索引值 和 值 （一起循环打印）\n",
    "4. 字典的创建常用的方法\n",
    "  1. dict_name[key] = value"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "f2b1e287",
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.8.8"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
